import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController

@RestController
class Test {
    @GetMapping("/hello")
    String hello() {
        "hello world"
    }
}